package org.jeecg.modules.lab.exam.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 考试信息主表
 * @Author: jeecg-boot
 * @Date:   2023-08-26
 * @Version: V1.0
 */
@ApiModel(value="lab_exam对象", description="考试信息主表")
@Data
@TableName("lab_exam")
public class LabExam implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**考试名称*/
	@Excel(name = "考试名称", width = 15)
    @ApiModelProperty(value = "考试名称")
    private String name;
	/**1公开2部门3定员*/
	@Excel(name = "1公开2部门3定员", width = 15)
    @ApiModelProperty(value = "1公开2部门3定员")
    private String openType;
	/**考试状态*/
	@Excel(name = "考试状态", width = 15)
    @ApiModelProperty(value = "考试状态")
    private String status;
	/**是否限时*/
	@Excel(name = "是否限时", width = 15)
    @ApiModelProperty(value = "是否限时")
    private String timeLimit;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
	/**总分数*/
	@Excel(name = "总分数", width = 15)
    @ApiModelProperty(value = "总分数")
    private Integer totalScore;
	/**总时长（分钟）*/
	@Excel(name = "总时长（分钟）", width = 15)
    @ApiModelProperty(value = "总时长（分钟）")
    private Integer totalTime;
	/**及格分数*/
	@Excel(name = "及格分数", width = 15)
    @ApiModelProperty(value = "及格分数")
    private Integer passScore;
	/**考试人员*/
	@Excel(name = "考试人员", width = 15)
    @ApiModelProperty(value = "考试人员")
    private String examPerson;
    /**考试部门*/
    @Excel(name = "考试部门", width = 15)
    @ApiModelProperty(value = "考试部门")
    private String examDepart;

    /**数据同步标识*/
    @ApiModelProperty(value = "数据同步标识")
    private java.lang.String synFlag;
}
